#ifndef TEXTAREA_H_
#define TEXTAREA_H_

#include <iostream>
#include "BackgroundColor.h"
#include "Color.h"
#include "Area.h"

class Text;

class TextArea : public BackgroundColor
{
public:
    TextArea(const Area& area, const Color& backgroundColor);
    virtual ~TextArea();

    Text* addHeaderLine(std::string text);
    Text* addNormalLine(std::string text);
    Text* addColorLine(const Color& color, std::string text);
    Text* addLine(Text* text);
    void addEmptySpace();

    virtual void clear();

private:
    int nextTextPos;

};

#endif
